package com.cssw.fyzb.core.model.dodb.base;

import com.ydn.dbframe.plugin.activerecord.Model;
import com.ydn.dbframe.plugin.activerecord.IBean;

/**
 *  do not modify this file.
 */
@SuppressWarnings("serial")
public abstract class BaseCmfAuthAccess<M extends BaseCmfAuthAccess<M>> extends Model<M> implements IBean {

	public void setId(java.math.BigInteger id) {
		set("id", id);
	}
	
	public java.math.BigInteger getId() {
		return get("id");
	}

	/**
	 * 角色
	 */
	public void setRoleId(java.lang.Long roleId) {
		set("role_id", roleId);
	}
	
	/**
	 * 角色
	 */
	public java.lang.Long getRoleId() {
		return getLong("role_id");
	}

	/**
	 * 规则唯一英文标识,全小写
	 */
	public void setRuleName(java.lang.String ruleName) {
		set("rule_name", ruleName);
	}
	
	/**
	 * 规则唯一英文标识,全小写
	 */
	public java.lang.String getRuleName() {
		return getStr("rule_name");
	}

	/**
	 * 权限规则分类,请加应用前缀,如admin_
	 */
	public void setType(java.lang.String type) {
		set("type", type);
	}
	
	/**
	 * 权限规则分类,请加应用前缀,如admin_
	 */
	public java.lang.String getType() {
		return getStr("type");
	}

}
